﻿// janisa.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
//

#include <iostream>
#include <cByteStream.h>
#include <log.h>
#include <system.h>
#include <stacktrace.h>
#include <ConfigFile.h>
#include <template.h>
#include <utils.h>
using namespace mdk;
int main()
{
    CByteBuffer buf;
    int a = 100, a1 = -1;
    short b = 4, b1 = -1;
    char c = 'A', c1 = 0;
    char pbuf[] = "mksfdu23-ri-03r";
    char buf1[100] = {0};
    buf << a << b << c;
    buf.Append(pbuf);
    buf >> a1 >> b1 >> c1;
    buf.Extract(buf1, 60);
    LVOS_DUMP("buffer", buf.c_str(), buf.Length());
    LOG_INFO(getCurrentTime().c_str());
}
